﻿using System;
using Halfpipe.Data.Service;

namespace Halfpipe.Data.Tests.Fakes
{
    public class FakeUnitOfWork : IUnitOfWork
    {
        public int Commit()
        {
            throw new NotImplementedException();
        }

        public void Dispose()
        {
            Dispose(true);
            GC.SuppressFinalize(this);
        }

        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                // free managed resources
            }
            // free native resources if there are any.
        }
    }
}
